﻿#include <stdio.h>

int Year(int n)
{
	if (n % 4 == 0 && n % 100 != 0 || n % 400 == 0)
	{
		return 1;
	}
	else
		return 0;
}

int main()
{
	int n;
	scanf_s("%d", &n);
	int a = Year(n);
	if (a == 1)
	{
		printf("%d 是闰年\n", n);
	}
	else
		printf("%d 不是闰年\n", n);

	return 0;
}